home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.txt / 000015_fdc@panix.com_Wed Nov 8 10:41:53 2006.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: reader2.panix.com!reader1.panix.com!panix!not-for-mail
  2. From: Frank Da Cruz <fdc@panix.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: list of built in macros?
  5. Date: Wed, 8 Nov 2006 15:41:27 +0000 (UTC)
  6. Organization: PANIX Public Access Internet and UNIX, NYC
  7. Lines: 27
  8. Message-ID: <slrnel3ul7.a5h.fdc@panix1.panix.com>
  9. References: <6VW3h.15660$cz.253545@ursa-nb00s0.nbnet.nb.ca>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: panix1.panix.com
  12. X-Trace: reader2.panix.com 1163000487 14637 166.84.1.1 (8 Nov 2006 15:41:27 GMT)
  13. X-Complaints-To: abuse@panix.com
  14. NNTP-Posting-Date: Wed, 8 Nov 2006 15:41:27 +0000 (UTC)
  15. User-Agent: slrn/0.9.8.0 (NetBSD)
  16. Xref: panix comp.protocols.kermit.misc:15585
  17.  
  18. On 2006-11-07, Scott Caissie <scottac@nb.sympatico.ca> wrote:
  19. : Simple question. Is there a list of built in macros which can be configured?
  20. : ON_EXIT, and ON_UNKNOWN_ERROR are the types that I'm referring to.
  21. : I currently use K95 2.1.3
  22. :
  23. If you start Kermit 95 or C-Kermit in such a way that it does not
  24. execute its initialization file (e.g. "kermit -Y") and then type
  25. "do ?" at the prompt, you'll get a list of the predefined macros, which
  26. are:
  27.  
  28.  cautious      fatal         manual
  29.  fast          ibm-linemode  robust
  30.  
  31. The ON_blah macros are not predefined, but their names are "well known",
  32. such that if a given event occurs, and the corresponding macro is defined,
  33. it is executed automatically.  At present, these are:
  34.  
  35.  Name:               When executed:
  36.   ON_CD               whenever a CD command is given
  37.   ON_CLOSE            any time a connection is closed
  38.   ON_CTRLC            upon Ctrl-C (interruption from keyboard)
  39.   ON_EXIT             when Kermit exits
  40.   ON_LOGOUT           upon logout (Internet Kermit Service only)
  41.   ON_OPEN             any time a connection is opened
  42.   ON_UNKNOWN_COMMAND  whenever an unknown top-level command is given
  43.  
  44. - Frank